@section('content-header')
    <ul class="nav d-tabs clearfix">
        @can('system')
            <li class="{{ $sidebar == "banner"? "active" : "" }}"><a href="{{ route('admin.system.banner') }}">系统展示图</a></li>
        @endcan
        @can('system-hot')
            <li class="{{ $sidebar == "recommend"? "active" : "" }}"><a href="{{ route('admin.system.recommend') }}">热门推荐</a></li>
        @endcan
        @can('system-page')
            <li class="{{ $sidebar == "page"? "active" : "" }}"><a href="{{ route('admin.system.page') }}">页面配置</a></li>
        @endcan
        @can('rule')
            <li class="{{ $sidebar == "rule"? "active" : "" }}"><a href="{{ route('admin.system.rule') }}">返利规则配置</a></li>
        @endcan
        @can('rank')
            <li class="{{ $sidebar == "switch"? "active" : "" }}"><a href="{{ route('admin.system.rank') }}">排行榜开关</a></li>
        @endcan
    </ul>
@endsection
